ListBox.AutoHideScrollBars

Controls whether scrollbars are shown when scrolling is not necessary to bring additional text into view. The default is True.

Syntax

AutoHideScrollBars as Boolean

Notes

The vertical scroll does not appear until there are more items in the ListBox than can be viewed at once. If AutoHideScrollbars is False, then inactive scrollbars are shown until they are needed to bring additional text into view. AutoHideScrollbars can be set at design time or runtime.